export const TextOptions = [
  {
    label: '普通文本',
    value: 'text',
  },
  {
    label: '邮箱',
    value: 'email',
  },
  {
    label: '身份证',
    value: 'IDCard',
  },
  {
    label: '固话/手机',
    value: 'phone',
  },
];

export const DataFormatTimeOptions = [
  {
    label: '年-月-日',
    value: 'YYYY-MM-DD',
  },
  {
    label: '年-月',
    value: 'YYYY-MM',
  },
  {
    label: '年-月-日 时:分',
    value: 'YYYY-MM-DD HH:mm',
  },
  {
    label: '时:分',
    value: 'HH:mm',
  },
];

export const DataFormatNumberOptions = [
  {
    label: '数值',
    value: 'data',
  },
  {
    label: '百分比',
    value: 'percent',
  },
];

export const MobileShowModeOptions = [
  {
    label: '侧滑选择',
    value: 'slide',
  },
  {
    label: '平埔显示',
    value: 'tiled',
  },
];

export const DefaultItemListOptions = [
  {
    label: '选项一',
    value: 'options1',
  },
  {
    label: '选项二',
    value: 'options2',
  },
  {
    label: '选项三',
    value: 'options3',
  },
];

export const FileMaxSizeOptions = [
  {
    label: '1MB',
    value: '1',
  },
  {
    label: '5MB',
    value: '5',
  },
  {
    label: '10MB',
    value: '10',
  },
  {
    label: '50MB',
    value: '50',
  },
];

export const MapRangeOptions = [
  {
    label: '限定附近位置',
    value: 'nearby',
  },
  {
    label: '允许任意位置',
    value: 'everywhere',
  },
];

export const MobileShowModeSubGridOptions = [
  {
    label: '纵向平铺',
    value: 'column',
  },
  {
    label: '横向表格',
    value: 'row',
  },
];

export const ControlSizeOptions = [
  {
    label: '小尺寸',
    value: '25%',
  },
  {
    label: '标准尺寸',
    value: '75%',
  },
  {
    label: '大尺寸',
    value: '100%',
  },
];

export const UserReadScopeOptions = [
  {
    label: '用户根据角色权限查看数据',
    value: 'role',
  },
  {
    label: '所有用户可查看全部数据',
    value: 'all',
  },
];

export const SchemaIconOptions = [
  {
    label: 'icon-luoshu-form1',
    value: 'icon-luoshu-form1',
  },
  {
    label: 'icon-luoshu-form2',
    value: 'icon-luoshu-form2',
  },
  {
    label: 'icon-luoshu-form3',
    value: 'icon-luoshu-form3',
  },
  {
    label: 'icon-luoshu-form4',
    value: 'icon-luoshu-form4',
  },
  {
    label: 'icon-luoshu-form5',
    value: 'icon-luoshu-form5',
  },
  {
    label: 'icon-luoshu-form6',
    value: 'icon-luoshu-form6',
  },
  {
    label: 'icon-luoshu-form7',
    value: 'icon-luoshu-form7',
  },
  {
    label: 'icon-luoshu-form8',
    value: 'icon-luoshu-form8',
  },
  {
    label: 'icon-luoshu-form9',
    value: 'icon-luoshu-form9',
  },
  {
    label: 'icon-luoshu-form10',
    value: 'icon-luoshu-form10',
  },
  {
    label: 'icon-luoshu-form11',
    value: 'icon-luoshu-form11',
  },
  {
    label: 'icon-luoshu-form12',
    value: 'icon-luoshu-form12',
  },
  {
    label: 'icon-luoshu-form13',
    value: 'icon-luoshu-form13',
  },
  {
    label: 'icon-luoshu-form14',
    value: 'icon-luoshu-form14',
  },
  {
    label: 'icon-luoshu-form15',
    value: 'icon-luoshu-form15',
  },
  {
    label: 'icon-luoshu-form16',
    value: 'icon-luoshu-form16',
  },
  {
    label: 'icon-luoshu-form17',
    value: 'icon-luoshu-form17',
  },
  {
    label: 'icon-luoshu-form18',
    value: 'icon-luoshu-form18',
  },
  {
    label: 'icon-luoshu-form19',
    value: 'icon-luoshu-form19',
  },
  {
    label: 'icon-luoshu-form20',
    value: 'icon-luoshu-form20',
  },
  {
    label: 'icon-luoshu-form21',
    value: 'icon-luoshu-form21',
  },
  {
    label: 'icon-luoshu-form22',
    value: 'icon-luoshu-form22',
  },
  {
    label: 'icon-luoshu-form23',
    value: 'icon-luoshu-form23',
  },
];

export const DisplaySettingOptions = [
  {
    label: '电脑端',
    value: 'pc',
  },
  {
    label: '手机端',
    value: 'mobile',
  },
];

export const LayoutPercentOptions = [
  {
    label: '两列',
    value: 'twoCols',
    children: [
      {
        label: '1/2',
        value: 'twoCols1',
        children: ['1/2', '1/2'],
      },
      {
        label: '1/3',
        value: 'twoCols2',
        children: ['1/3', '2/3'],
      },
      {
        label: '2/3',
        value: 'twoCols3',
        children: ['2/3', '1/3'],
      },
      {
        label: '1/4',
        value: 'twoCols4',
        children: ['1/4', '3/4'],
      },
      {
        label: '3/4',
        value: 'twoCols5',
        children: ['3/4', '1/4'],
      },
    ],
  },
  {
    label: '三列',
    value: 'threeCols',
    children: [
      {
        label: '1/3',
        value: 'threeCols1',
        children: ['1/3', '1/3', '1/3'],
      },
      {
        label: '1/4',
        value: 'threeCols2',
        children: ['1/4', '1/4', '1/2'],
      },
      {
        label: '2/3',
        value: 'threeCols3',
        children: ['1/2', '1/4', '1/4'],
      },
      {
        label: '1/4',
        value: 'threeCols4',
        children: ['1/4', '1/2', '1/4'],
      },
    ],
  },
  {
    label: '四列',
    value: 'fourCols',
    children: [
      {
        label: '1/4',
        value: 'fourCols1',
        children: ['1/4', '1/4', '1/4', '1/4'],
      },
    ],
  },
];

export const LayoutTypeLimit = {
  twoCols: 2,
  threeCols: 3,
  fourCols: 4,
};

export const AlignTypeOptions = [
  {
    label: '左',
    value: 'left',
  },
  {
    label: '中',
    value: 'center',
  },
  {
    label: '右',
    value: 'right',
  },
];

export const ActionOrderOptions = [
  {
    label: '所有处理人同时处理',
    value: 'same',
  },
  {
    label: '按处理人设置顺序依次处理',
    value: 'order',
  },
];

export const TurnRuleOptions = [
  {
    label: '按人数',
    value: 'count',
  },
  {
    label: '按百分比',
    value: 'percent',
  },
];

export const HandlerEmptyOptions = [
  {
    label: '交给管理员经办',
    value: 'admin',
  },
  {
    label: '自动进入下一节点',
    value: 'autoNext',
  },
];

export const MessageNoticeOptions = [
  {
    label: '使用系统默认通知',
    value: 'system',
  },
  {
    label: '自定义通知',
    value: 'custom',
    disabled: true,
  },
];

export const HandlerTimeOptions = [
  {
    label: '不限时',
    value: 'all',
  },
  {
    label: '自定义通知时间',
    value: 'custom',
  },
];

export const CommitTypeOptions = [
  {
    label: '超时自动提交',
    value: 'autoCommit',
  },
  {
    label: '超时自动提醒',
    value: 'autoNotice',
  },
  {
    label: '超时自动驳回到上一节点',
    value: 'autoPrev',
  },
  {
    label: '超时自动驳回到发起节点',
    value: 'autoStart',
  },
];

export const SignOptions = [
  {
    label: '允许复用签名',
    value: 'report',
    disabled: true,
  },
  {
    label: '允许上传签名',
    value: 'upload',
    disabled: true,
  },
];
